//公共部分
*{
    margin: 0;
    padding: 0;
    font: 14px/1.5 "Microsoft Yahei",Arial ;
    ul{
        list-style: none;
    }
    a{
        text-decoration: none;
        color: #008cd7
    }
    body{
        background: #f5f5f5;
    }
    div{
        margin: 0;
        padding: 0;
    }
    .wrapper {
        width: 1200px;
        margin: 0 auto;
    }
    .cl{
        zoom: 1;
    }
}
.header{
    min-width: 1200px;
    background: #fff;
    position: relative;
    z-index: 99;
    border-bottom: 1px rgba(0,0,0,0.5) solid;
    .head-search{
        width: 100%;
        height: 40px;
        padding: 20px 0px;
        background: #202223;
        display: none;
        .search-box{
            width:700px ;
            height: 40px;
            margin: 0 auto;
            position: relative;
            z-index: 99;
            input{
                width: 550px;
                height: 20px;
                padding: 10px 20px;
                font-size: 14px;
                color: #555;
                border: 0;
                background: #fff;
                overflow: hidden;
                vertical-align: middle;
            }
            button{
                width: 110px;
                height: 40px;
                overflow: hidden;
                text-align: center;
                font-size: 14px;
                color: #fff;
                border: 0;
                vertical-align: middle;
                background: #008cd6;
                outline: 0;
                float: right;
                transition: background .2s ease-in-out;
            }
            a{
                width: 24px;
                height: 24px;
                position: absolute;
                top: 8px;
                right: -40px;
                background: url(../image/seacher.png) no-repeat -86px 0px;
                &:hover{
                    background: url(../image/seacher.png) no-repeat -86px -25px;
                }

            }
        }
    }
    .wrap{
        width: 1200px;
        margin: 0 auto;
        .navigator{
            height: 80px;
            margin: 0 auto;
            position: relative;
            z-index: 999;
            .logo{
                width: 95px;
                height: 60px;
                float: left;
                margin-top: 10px;
            }
            .nav-box{
                float: left;
                height: 80px;
                margin-left: 50px;
                li{
                    min-width: 106px;
                    height: 80px;
                    text-align: center;
                    border-right: 1px #f2f2f2 solid;
                    float: left;
                    a{
                       display: block;
                       line-height: 80px;
                        font-size: 16px;
                        color: #666;
                        transition:.3s; 
                        &:hover{
                            color: #fff;
                            background:#008cd6 ;
                        }
                    }
                    
                }
                .rb{
                    border-left: 1px #f2f2f2 solid;
                }
                
            }
            .seach-user{
                float: right;
                width:177px ;
                height: 60px;
                margin-top: 10px;
                position: relative;
                .seach-menu{
                    li{
                        width: 42px;
                        height: 42px;
                        float: left;
                        margin-left: 15px;
                        position: relative;
                        top: 8px;
                        background: #fff;
                        border: 1px solid #e7e7e7;
                        border-radius: 50%;
                        a{
                            position: relative;
                            display: inline-block;
                            width: 42px;
                            height: 42px;
                            border-radius: 50%;
                            overflow: hidden;
                            &:hover{
                                    background:#008cd6 ;
                                }
                            b{
                                width: 42px;
                                height: 42px;
                                display: inline-block;
                                border-radius: 50%;
                                
                            }
                            em{
                                position: absolute;
                                width: 16px;
                                height: 16px;
                                text-align: center;
                                line-height: 16px;
                                top: 5px;
                                right: 5px;
                                border-radius: 50%;
                                background: #e60012;
                                vertical-align: middle;
                                font-size: 8px;
                                font-family: tahoma;
                                color: #fff;
                            }
                            .nav-bg1{
                                background: url(../image/nav.png) no-repeat 0px 0px; 
                                &:hover{
                                    background: url(../image/nav.png) no-repeat 0px -42px; 
                                    
                                }
                            }
                            .nav-bg2{
                                background: url(../image/nav.png) no-repeat -42px 0px; 
                                &:hover{
                                    background: url(../image/nav.png) no-repeat -42px -42px; 
                                    
                                }
                            }
                            .nav-bg3{
                                background: url(../image/nav.png) no-repeat 0px -84px; 
                                &:hover{
                                    background: url(../image/nav.png) no-repeat 0px -126px; 
                                }
                            }
                            
                        }
                    }
                }
                
            }
        }
    }
}
#footer{
    min-width: 1200px;
    .shop-agree{
        height: 86px;
        position: relative;
        text-align: center;
        border-bottom: 1px solid #e8e8e9;
        border-top: 1px solid #e8e8e9 ;
        background: #fafafa;
        .cl{
            height: 86px;
            display: block;
            margin: auto;
            position: relative;
            li{
                float: left;
                width: 25%;
                text-align: left;
                padding-top: 14px;
                a{
                    color: #333;
                    .foot-b1{
                        float: left;
                        width: 60px;
                        height: 60px;
                        background:url(../image/foot-bg.png) 0px 0px;
                    }
                    .foot-b2{
                        float: left;
                        width: 60px;
                        height: 60px;
                        background:url(../image/foot-bg.png) -62px 0px;
                    }
                    .foot-b3{
                        float: left;
                        width: 60px;
                        height: 60px;
                        background:url(../image/foot-bg.png) -124px 0px;
                    }
                    .foot-b4{
                        float: left;
                        width: 60px;
                        height: 60px;
                        background:url(../image/foot-bg.png) -185px 0px;
                    }
                    p{
                        color: #3d3d3d;
                        float: left;
                        padding-left: 10px;
                        height: 60px;
                        line-height: 60px;
                        font-size: 18px;
                        span{
                            font-size: 30px;
                            padding-right: 10px;
                            vertical-align: middle;
                            position: relative;
                            top: -2px;
                        }
                    }
                }
            }
        }
    }
    .shop-help{
        margin-top: 30px;
        .wrapper{
            overflow: hidden;
            dl{
                width: 20%;
                display: block;
                float: left;
                dt{
                    color: #008cd6;
                    font-size: 16px;
                    padding-bottom: 10px;
                    .help-b1{
                        display: inline-block;
                        vertical-align: middle;
                        width: 28px;
                        height: 28px;
                        margin-right: 5px;
                        overflow: hidden;
                        background: url(../image/foot-bg.png) no-repeat 0px -60px;
                    }
                    .help-b2{
                        display: inline-block;
                        vertical-align: middle;
                        width: 28px;
                        height: 28px;
                        margin-right: 5px;
                        overflow: hidden;
                        background: url(../image/foot-bg.png) no-repeat -28px -60px;
                    }
                    .help-b3{
                        display: inline-block;
                        vertical-align: middle;
                        width: 28px;
                        height: 28px;
                        margin-right: 5px;
                        overflow: hidden;
                        background: url(../image/foot-bg.png) no-repeat -58px -60px;
                    }
                    .help-b4{
                        display: inline-block;
                        vertical-align: middle;
                        width: 28px;
                        height: 28px;
                        margin-right: 5px;
                        overflow: hidden;
                        background: url(../image/foot-bg.png) no-repeat -91px -60px;
                    }
                    .help-b5{
                        display: inline-block;
                        vertical-align: middle;
                        width: 28px;
                        height: 28px;
                        margin-right: 5px;
                        overflow: hidden;
                        background: url(../image/foot-bg.png) no-repeat -123px -61px;
                    }
                }
                dd{
                    line-height: 30px;
                    color: #999;
                    a{
                        color: #999;
                        transition: all .3s ease-in-out;
                    }
                }
            }
        }
    }
    .foot-copyright{
        background: #202223;
        padding: 30px 0px;
        margin-top: 20px;
        padding-bottom: 80px;
        .wrapper{
            .foot-right{
                color: #ccc;
                position: relative;
                float: right;
                a{
                    display: inline-block;
                    width: 27px;
                    height: 27px;
                    overflow: hidden;
                    margin-left: 8px;
                    background:#4d4e4f ;
                    border-radius: 4px;
                    transition: background .2s ease-in-out;
                    vertical-align: middle;
                    .fr-b1{
                        width: 27px;
                        height: 27px;
                        overflow: hidden;
                        display: inline-block;
                        background: url(../image/foot-bg2.png) no-repeat 0px 0px;
                        &:hover{
                            background:#e52c42 url(../image/foot-bg2.png) no-repeat 0px -27px;
                        }
                    }
                    .fr-b2{
                        width: 27px;
                        height: 27px;
                        overflow: hidden;
                        display: inline-block;
                        background: url(../image/foot-bg2.png) no-repeat -27px 0px;
                        &:hover{
                            background:#14addf url(../image/foot-bg2.png) no-repeat -27px -27px;
                        }
                    }
                    .fr-b3{
                        width: 27px;
                        height: 27px;
                        overflow: hidden;
                        display: inline-block;
                        background: url(../image/foot-bg2.png) no-repeat -108px 0px;
                        &:hover{
                            background:#056be8 url(../image/foot-bg2.png) no-repeat -108px -27px;
                        }
                    }
                    .hide{
                        width: 143px;
                        height: 143px;
                        background: #fff;
                        position: absolute;
                        bottom: 40px;
                        right: -56px;
                        box-shadow: 0 0 5px rgba(0,0,0,.3);
                        z-index: 99;
                        display: none;
                        img{
                            position: relative;
                            top: 15px;
                            left: 15px;
                        }
                        .fr-b5{
                            width: 18px;
                            height: 12px;
                            overflow: hidden;
                            position: absolute;
                            bottom: -12px;
                            left: 50%;
                            margin-left: -9px;
                            background: url(../image/foot-bg5.png) no-repeat 0px 0px;
                        }
                    }
                    .fr-b4{
                        width: 27px;
                        height: 27px;
                        overflow: hidden;
                        display: inline-block;
                        background: url(../image/foot-bg2.png) no-repeat -54px 0px;
                        &:hover{
                            background:#20a900 url(../image/foot-bg2.png) no-repeat -54px -27px;
                        }
                    }
                    
                }
                .weixin:hover .hide{
                    display: block;
                }
                
            }
            .foot-copy{
                color: #666;
                margin-top: 5px;
                width: 600px;
                float: left;
                .foot-logo{
                    width: 95px;
                    height: 30px;
                    float: left;
                    position: relative;
                    margin-right: 20px;
                    vertical-align: middle;
                    background: url(../image/foot-logo.jpg) no-repeat 0px 0px;
                }
                .wen{
                    color: #666;
                    transition: color .2s ease-in-out;
                    &:hover{
                        color:#008cd7 ;
                    }
                }
            }
        }
    }
}
#sid-bar{
    position: fixed;
    right: 14px;
    top: 60%;
    z-index: 99;
    #side-bar .service::before {
    content: "在线客服";
}
    a{
       position: relative;
        display: block;
        width: 47px;
        height: 49px;
        border-radius: 2px;
        border-bottom: 1px solid #ccc;
        background: #c3c3c3 center center no-repeat;
        div{
            position: absolute;
            right: 47px;
            bottom: 0;
            padding: 0 9px 0 18px;
            color: #a8e1ff;
            font-size: 14px;
            display: none;
            line-height: 49px;
            white-space: nowrap;
            border-top-left-radius: 2px;
            border-bottom-left-radius: 2px;
            background-color: #249bdc;
        }
        &:hover{
            background-color: #249bdc;            
        }
        &:hover div{
            display: block;
        }
    }
    .sid-bg1{
        background:#c3c3c3  url(../image/sid-bar1.png) no-repeat 8px 8px;
    }
    .sid-bg2{
        background:#c3c3c3  url(../image/sid-bar2.png) no-repeat 12px 12px;
        .sb-1{
            height: 200px;
            background: #fff;
            position: absolute;
            top: -50px;
            right: 100px;
            box-sizing: border-box;
            padding: 20px;
            img{
                font-size: 14px;
                white-space: nowrap;
                background-color: #fff;
            }
        }
    }
    .sid-bg3{
        background:#c3c3c3  url(../image/sid-bar3.png) no-repeat 12px 12px;
    }
    .sid-bg4{
        background:#c3c3c3  url(../image/sid-bar4.png) no-repeat 12px 15px;
    }
    
}
